package com.lianzai.common.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Created by IBM on 2018/10/29.
 */
@Configuration
public class WxConfig {
    @Value("${wx.appid}")
    private String appid;

    @Value("${wx.appsecret}")
    private String appsecret;

    @Value("${wx.mchid}")
    private String mchid;

    @Value("${wx.private_key}")
    private String privateKey;

    @Value("${wx.notify_url}")
    private String notifyUrl;

    @Value("${wx.unifiedorder_url}")
    private String unifiedorderUrl;

    @Value("${wx.att_token}")
    private String wxAttToken;

    @Value("${wx.mobileorder_url}")
    private String wxMobileOrderUrl;

    @Value("${wx.xiangparkAppId}")
    private String xiangparkAppId;

    @Value("${wx.xiangparkAppSecret}")
    private String xiangparkAppSecret;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getXiangparkAppId() {
        return xiangparkAppId;
    }

    public void setXiangparkAppId(String xiangparkAppId) {
        this.xiangparkAppId = xiangparkAppId;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getUnifiedorderUrl() {
        return unifiedorderUrl;
    }

    public void setUnifiedorderUrl(String unifiedorderUrl) {
        this.unifiedorderUrl = unifiedorderUrl;
    }

    public String getWxAttToken() {
        return wxAttToken;
    }

    public void setWxAttToken(String wxAttToken) {
        this.wxAttToken = wxAttToken;
    }

    public String getWxMobileOrderUrl() {
        return wxMobileOrderUrl;
    }

    public void setWxMobileOrderUrl(String wxMobileOrderUrl) {
        this.wxMobileOrderUrl = wxMobileOrderUrl;
    }

    public String getXiangparkAppSecret() {
        return xiangparkAppSecret;
    }

    public void setXiangparkAppSecret(String xiangparkAppSecret) {
        this.xiangparkAppSecret = xiangparkAppSecret;
    }
}
